<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class CPSgApiWidget</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class CPSgApiWidget</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-consts">Constants</a>
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">CPSgApiWidget provides access to the <a href="http://code.google.com/apis/ajaxsearch/">Google AJAX APIs</a></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jerry Ablan &lt;<a href="mailto:jablan@pogostick.com">jablan@pogostick.com</a>&gt;</li>
				<li><span class="field">version:</span> SVN: $Id: CPSgApiWidget.php 198 2009-05-27 06:21:07Z jerryablan@gmail.com $</li>
				<li><span class="field">since:</span> 1.0.0</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_pogostick---widgets---gApi---CPSgApiWidget.php.html">/pogostick/widgets/gApi/CPSgApiWidget.php</a> (line <span class="field">22</span>)
		</p>
		
				
		<pre>CInputWidget
   |
   --<a href="../../psYiiExtensions/Base/CPSWidget.html">CPSWidget</a>
      |
      --<a href="../../psYiiExtensions/Base/CPSApiWidget.html">CPSApiWidget</a>
         |
         --CPSgApiWidget</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-vars">Vars</a>
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-consts">Constants</a>
							
					</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../psYiiExtensions/Widgets/CPSgMapsWidget.html">CPSgMapsWidget</a></td>
					<td>
											CPSgMapsWidget encapsulates access to the <a href="http://code.google.com/apis/maps">Google Maps API</a>
										</td>
				</tr>
							</table>
		</div>
	</div>



	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-consts">Constants</a>
							
															<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																												
												<div class="method-definition">
											<span class="method-result">CPSgApiWidget</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#generateHtml" title="details" class="method-name">generateHtml</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#generateJavascript" title="details" class="method-name">generateJavascript</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#registerClientScripts" title="details" class="method-name">registerClientScripts</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#run" title="details" class="method-name">run</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-consts">Constants</a>
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../psYiiExtensions/Base/CPSWidget.html">CPSWidget</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#var$m_arBehaviors">CPSWidget::$m_arBehaviors</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#var$m_bHasBehaviors">CPSWidget::$m_bHasBehaviors</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#var$m_sInternalName">CPSWidget::$m_sInternalName</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#var$m_sPrefixDelimiter">CPSWidget::$m_sPrefixDelimiter</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-vars">Vars</a>
																			<a href="#sec-consts">Constants</a>
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">32</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">CPSgApiWidget</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../psYiiExtensions/Base/CPSApiWidget.html#method__construct">CPSApiWidget::__construct()</a></dt>
						<dd>Constructor</dd>
					</dl>
			
	</div>
<a name="methodgenerateHtml" id="generateHtml"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">generateHtml</span> (line <span class="line-number">79</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			generateHtml
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodgenerateHtml">CPSApiWidget::generateHtml()</a></dt>
						<dd>Generates the javascript code for the widget</dd>
					</dl>
			
	</div>
<a name="methodgenerateJavascript" id="generateJavascript"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">generateJavascript</span> (line <span class="line-number">68</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			generateJavascript
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodgenerateJavascript">CPSApiWidget::generateJavascript()</a></dt>
						<dd>Generates the javascript code for the widget</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSgMapsWidget.html#methodgenerateJavascript">CPSgMapsWidget::generateJavascript()</a>
							</li>
				</ul>
	</div>
<a name="methodregisterClientScripts" id="registerClientScripts"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">registerClientScripts</span> (line <span class="line-number">84</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			registerClientScripts
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../psYiiExtensions/Base/CPSWidget.html#methodregisterClientScripts">CPSWidget::registerClientScripts()</a></dt>
						<dd>*  Handles registration of scripts &amp; css files...</dd>
					</dl>
			
	</div>
<a name="methodrun" id="run"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">run</span> (line <span class="line-number">59</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			run
		</span>
				()
			</div>
	
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../psYiiExtensions/Base/CPSApiWidget.html">CPSApiWidget</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#method__construct">CPSApiWidget::__construct()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodafterApiCall">CPSApiWidget::afterApiCall()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodbeforeApiCall">CPSApiWidget::beforeApiCall()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodevents">CPSApiWidget::events()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodgenerateHtml">CPSApiWidget::generateHtml()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodgenerateJavascript">CPSApiWidget::generateJavascript()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodmakeMapArray">CPSApiWidget::makeMapArray()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodmakeMapItem">CPSApiWidget::makeMapItem()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodonAfterApiCall">CPSApiWidget::onAfterApiCall()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodonBeforeApiCall">CPSApiWidget::onBeforeApiCall()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodonRequestComplete">CPSApiWidget::onRequestComplete()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSApiWidget.html#methodrequestComplete">CPSApiWidget::requestComplete()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../psYiiExtensions/Base/CPSWidget.html">CPSWidget</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#method__construct">CPSWidget::__construct()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodattachBehavior">CPSWidget::attachBehavior()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodattachBehaviors">CPSWidget::attachBehaviors()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgenerateHtml">CPSWidget::generateHtml()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgenerateJavascript">CPSWidget::generateJavascript()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetBehaviorProperty">CPSWidget::getBehaviorProperty()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetBehaviors">CPSWidget::getBehaviors()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetHasBehaviors">CPSWidget::getHasBehaviors()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetInternalName">CPSWidget::getInternalName()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetNamePrefix">CPSWidget::getNamePrefix()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetPrefixDelimiter">CPSWidget::getPrefixDelimiter()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodhasBehaviorMethod">CPSWidget::hasBehaviorMethod()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodhasBehaviorProperty">CPSWidget::hasBehaviorProperty()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodinit">CPSWidget::init()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodregisterClientScripts">CPSWidget::registerClientScripts()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodsetBehaviorProperty">CPSWidget::setBehaviorProperty()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodsetHasBehaviors">CPSWidget::setHasBehaviors()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodsetInternalName">CPSWidget::setInternalName()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodsetPrefixDelimiter">CPSWidget::setPrefixDelimiter()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#method__call">CPSWidget::__call()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#method__get">CPSWidget::__get()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#method__set">CPSWidget::__set()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-vars">Vars</a>
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Constants</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../psYiiExtensions/Base/CPSWidget.html">CPSWidget</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#constBEHAVIOR_META_METHODS">CPSWidget::BEHAVIOR_META_METHODS</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#constBEHAVIOR_META_OBJECT">CPSWidget::BEHAVIOR_META_OBJECT</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#constBEHAVIOR_META_VALID">CPSWidget::BEHAVIOR_META_VALID</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#constBEHAVIOR_META_VARS">CPSWidget::BEHAVIOR_META_VARS</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Mon, 15 Jun 2009 22:58:18 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a>
	</p>
	</div></body>
</html>